apt-get install -y gcc make net-tools cmake python3 python3-dev python3-pip

yum install -y gcc make net-tools cmake python3 python3-devel python3-pip

python3 --version

pip3 --version

cmake --version

gcc --version

pip3 install attrs cython numpy==1.24.0 decorator sympy cffi pyyaml pathlib2 psutil protobuf==3.20 scipy requests absl-py

chmod +x Ascend-cann-toolkit_XXX_linux-x86_64.run

./Ascend-cann-toolkit_XXX_linux-x86_64.run --check

./Ascend-cann-toolkit_XXX_linux-x86_64.run --install

source /usr/local/Ascend/ascend-toolkit/set_env.sh
